package com.xyy.saas.payment.service.impl;

import com.xyy.saas.payment.dao.mapper.FrozenSettlementMapper;
import com.xyy.saas.payment.dao.model.FrozenSettlement;
import com.xyy.saas.payment.service.FrozenSettlementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FrozenSettlementServiceImpl implements FrozenSettlementService {

    @Autowired
    private FrozenSettlementMapper frozenSettlementMapper;

    @Override
    public int insert(FrozenSettlement frozenSettlement) {
        return frozenSettlementMapper.insert(frozenSettlement);
    }

    @Override
    public int updateByPrimaryKeySelective(FrozenSettlement frozenSettlement) {
        return frozenSettlementMapper.updateByPrimaryKeySelective(frozenSettlement);
    }

    @Override
    public List<FrozenSettlement> queryFrozenSettlement(FrozenSettlement frozenSettlement) {
        return frozenSettlementMapper.queryFrozenSettlement(frozenSettlement);
    }
}
